//
//  ListTableViewCell.m
//  逗她盒子
//
//  Created by tiankun on 15/6/15.
//  Copyright (c) 2015年 Qiaofeng. All rights reserved.
//
#define WIDTH [UIScreen mainScreen].bounds.size.width
#define HEIGHT [UIScreen mainScreen].bounds.size.height
#import "ListTableViewCell.h"

@implementation ListTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.showImage = [[UIImageView alloc]initWithFrame:CGRectMake(10, 10, WIDTH * 0.35, HEIGHT * 0.13)];
        self.title = [[UILabel alloc]initWithFrame:CGRectMake(WIDTH * 0.4, 0, WIDTH * 0.4, HEIGHT * 0.07)];
        
        self.Description = [[UILabel alloc]initWithFrame:CGRectMake(WIDTH * 0.4, HEIGHT * 0.08, WIDTH * 0.4, HEIGHT * 0.07)];
        self.Description.font = [UIFont fontWithName:nil size:13];
        self.Description.numberOfLines = 0;
//        [self.showImage setBackgroundColor:[UIColor orangeColor]];
//        [self.title setBackgroundColor:[UIColor yellowColor]];
//        [self.Description setBackgroundColor:[UIColor grayColor]];
        [self.contentView addSubview:self.showImage];
        [self.contentView addSubview:self.title];
        [self.contentView addSubview:self.Description];
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
